﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddDevice.ascx.cs" Inherits="PayrollHR.Administration.Modules.AddDeviceControl" %>
<%@ Register Src="ToolTipLabelControl.ascx" TagName="ToolTipLabelControl" TagPrefix="uc1" %>
<%@ Register Src="SimpleTextBox.ascx" TagName="SimpleTextBox" TagPrefix="uc2" %>
<div class="section-header">
    <div class="title">
        <img src="Common/ico-catalog.png" alt='<%=GetLocaleResourceString("Admin.Devices.AddDevices")%>' />
        <%=GetLocaleResourceString("Admin.CustomerAdd.AddCustomers")%>
        <asp:Label runat="server" ID="lblTitle" />
        <a href="DeviceList.aspx" title='<%=GetLocaleResourceString("Admin.Devices.AddDevices")%>'>
            <%=GetLocaleResourceString("Admin.CustomerAdd.BackToDevicesList")%>
        </a>
    </div>
    <div class="options">
        <asp:Button ID="SaveButton" runat="server" Text="<% $PayrollResources:Admin.CustomerAdd.SaveButton.Text %>"
            ToolTip="<% $PayrollResources:Admin.CustomerAdd.SaveButton.Tooltip %>" CssClass="adminButtonBlue" OnClick="SaveButton_Click" />
        <asp:Button ID="SaveAndStayButton" runat="server" CssClass="adminButtonBlue" Text="<% $PayrollResources:Admin.CustomerAdd.SaveAndStayButton.Text %>" ToolTip="<% $PayrollResources:Admin.CustomerAdd.SaveAndStayButton.Tooltip %>"
            OnClick="SaveAndStayButton_Click" />
    </div>
</div>
<div>
    <table class="adminContent">
        <tr>
            <td class="adminTitle">
                <uc1:ToolTipLabelControl ID="lblDeviceCode" runat="server" Text="<% $PayrollResources:Admin.AddDevice.DeviceCode.Text %>"
                    ToolTip="<% $PayrollResources:Admin.AddDevice.DeviceCode.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
            </td>
            <td class="adminData">
                <uc2:SimpleTextBox ID="txtDeviceCode" CssClass="adminInput" runat="server" />
            </td>
            <td class="adminTitle">
                <uc1:ToolTipLabelControl ID="lblDeviceName" runat="server" Text="<% $PayrollResources:Admin.AddDevice.DeviceName.Text %>"
                    ToolTip="<% $PayrollResources:Admin.AddDevice.DeviceName.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
            </td>
            <td class="adminData">
                <uc2:SimpleTextBox ID="txtDeviceName" CssClass="adminInput" runat="server" />
            </td>
            <td class="adminTitle">
                <uc1:ToolTipLabelControl ID="lblNote" runat="server" Text="<% $PayrollResources:Admin.AddDevice.Note.Text %>"
                    ToolTip="<% $PayrollResources:Admin.AddDevice.Note.ToolTip %>" ToolTipImage="~/Administration/Common/ico-help.gif" />
            </td>
            <td class="adminData">
                <asp:TextBox ID="txtNote" TextMode="MultiLine" CssClass="adminInput" MaxLength="512" runat="server"></asp:TextBox>
            </td>
        </tr>
    </table>
</div>
